<!-- content -->
<div id="content">
  <h2><%= @factory.company %>产品目录</h2>
    <!-- mainContent -->
	<div id="mainContent">
		<div id="listLeechdoms" class="clear">
            <table border="0" cellspacing="0" cellpadding="0">
            <% for leechdom in @leechdoms %>
                <tr>
                    <td>
                      <ul class="leechdom">
                        <li class="img"><a href="/leechdoms/<%= leechdom.id %>"><img src="<%= leechdom.image_url %>" alt="" /></a></li>
                        <li class="name"><a href="/leechdoms/<%= leechdom.id %>"><%= leechdom.proprietary_name %></a></li>
                        <li><%= leechdom.indications %></li>
                        <li><a href="/factories/<%= leechdom.factory.id %>"><%= leechdom.factory.company %></a></li>
                      </ul>
                     </td>
                </tr>              
            <% end %>  
            </table>       
		</div>
        <%= will_paginate @leechdoms %>
    </div>
    <div id="sideContent">
    	<h3>详细介绍</h3>
    	<ul>
        	<li><a href="/factories/<%= @factory.id %>">厂家简介</a></li>
        	<li><a href="/factories/list/<%= @factory.id %>">产品目录</a></li>
        </ul>
    </div>
</div>